package com.lagou.edu.service;

import com.lagou.edu.pojo.User;

public interface UserService {

    User findByEmail(String email);

    User findByToken(String token);

    Boolean register(String email, String password, String code);

    String login(String email, String password);

}
